-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add region
argument to target_table
in aws_glue_catalog_table
#34817
chore: add region
argument to target_table
in aws_glue_catalog_table
#34817
Conversation
Community NoteVoting for Prioritization
For Submitters
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Can this be merged. |
Hey @himavanthkj, end of year is a bit hectic for all of us, I've raised awareness around this pull request to the core team members. |
Why not manage the region via the provider? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
% make testacc TESTS="TestAccGlueCatalogTable_|TestAccGlueCatalogTableDataSource_" PKG=glue
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/glue/... -v -count 1 -parallel 20 -run='TestAccGlueCatalogTable_|TestAccGlueCatalogTableDataSource_' -timeout 360m
=== RUN TestAccGlueCatalogTableDataSource_basic
=== PAUSE TestAccGlueCatalogTableDataSource_basic
=== RUN TestAccGlueCatalogTable_basic
=== PAUSE TestAccGlueCatalogTable_basic
=== RUN TestAccGlueCatalogTable_columnParameters
=== PAUSE TestAccGlueCatalogTable_columnParameters
=== RUN TestAccGlueCatalogTable_full
=== PAUSE TestAccGlueCatalogTable_full
=== RUN TestAccGlueCatalogTable_Update_addValues
=== PAUSE TestAccGlueCatalogTable_Update_addValues
=== RUN TestAccGlueCatalogTable_Update_replaceValues
=== PAUSE TestAccGlueCatalogTable_Update_replaceValues
=== RUN TestAccGlueCatalogTable_StorageDescriptor_emptyBlock
=== PAUSE TestAccGlueCatalogTable_StorageDescriptor_emptyBlock
=== RUN TestAccGlueCatalogTable_StorageDescriptorSerDeInfo_emptyBlock
=== PAUSE TestAccGlueCatalogTable_StorageDescriptorSerDeInfo_emptyBlock
=== RUN TestAccGlueCatalogTable_StorageDescriptorSerDeInfo_updateValues
=== PAUSE TestAccGlueCatalogTable_StorageDescriptorSerDeInfo_updateValues
=== RUN TestAccGlueCatalogTable_StorageDescriptorSkewedInfo_emptyBlock
=== PAUSE TestAccGlueCatalogTable_StorageDescriptorSkewedInfo_emptyBlock
=== RUN TestAccGlueCatalogTable_StorageDescriptor_schemaReference
=== PAUSE TestAccGlueCatalogTable_StorageDescriptor_schemaReference
=== RUN TestAccGlueCatalogTable_StorageDescriptor_schemaReferenceARN
=== PAUSE TestAccGlueCatalogTable_StorageDescriptor_schemaReferenceARN
=== RUN TestAccGlueCatalogTable_partitionIndexesSingle
=== PAUSE TestAccGlueCatalogTable_partitionIndexesSingle
=== RUN TestAccGlueCatalogTable_partitionIndexesMultiple
=== PAUSE TestAccGlueCatalogTable_partitionIndexesMultiple
=== RUN TestAccGlueCatalogTable_Disappears_database
=== PAUSE TestAccGlueCatalogTable_Disappears_database
=== RUN TestAccGlueCatalogTable_targetTable
=== PAUSE TestAccGlueCatalogTable_targetTable
=== RUN TestAccGlueCatalogTable_disappears
=== PAUSE TestAccGlueCatalogTable_disappears
=== RUN TestAccGlueCatalogTable_openTableFormat
=== PAUSE TestAccGlueCatalogTable_openTableFormat
=== CONT TestAccGlueCatalogTableDataSource_basic
=== CONT TestAccGlueCatalogTable_StorageDescriptorSkewedInfo_emptyBlock
=== CONT TestAccGlueCatalogTable_Disappears_database
=== CONT TestAccGlueCatalogTable_partitionIndexesSingle
=== CONT TestAccGlueCatalogTable_partitionIndexesMultiple
=== CONT TestAccGlueCatalogTable_full
=== CONT TestAccGlueCatalogTable_Update_replaceValues
=== CONT TestAccGlueCatalogTable_StorageDescriptorSerDeInfo_emptyBlock
=== CONT TestAccGlueCatalogTable_StorageDescriptor_schemaReferenceARN
=== CONT TestAccGlueCatalogTable_columnParameters
=== CONT TestAccGlueCatalogTable_disappears
=== CONT TestAccGlueCatalogTable_basic
=== CONT TestAccGlueCatalogTable_Update_addValues
=== CONT TestAccGlueCatalogTable_openTableFormat
=== CONT TestAccGlueCatalogTable_StorageDescriptor_schemaReference
=== CONT TestAccGlueCatalogTable_StorageDescriptorSerDeInfo_updateValues
=== CONT TestAccGlueCatalogTable_StorageDescriptor_emptyBlock
=== CONT TestAccGlueCatalogTable_targetTable
--- PASS: TestAccGlueCatalogTable_StorageDescriptor_emptyBlock (39.86s)
--- PASS: TestAccGlueCatalogTableDataSource_basic (40.63s)
=== NAME TestAccGlueCatalogTable_Disappears_database
testing_new.go:91: Error running post-test destroy, there may be dangling resources: exit status 1
Error: deleting Glue Catalog Database (727561393803:tf-acc-test-7484896852048980264): EntityNotFoundException: Database tf-acc-test-7484896852048980264 not found.
{
RespMetadata: {
StatusCode: 400,
RequestID: "63121820-eca8-4661-b73c-4fb0dd260233"
},
Message_: "Database tf-acc-test-7484896852048980264 not found."
}
--- PASS: TestAccGlueCatalogTable_StorageDescriptorSerDeInfo_emptyBlock (43.69s)
--- FAIL: TestAccGlueCatalogTable_Disappears_database (43.75s)
--- PASS: TestAccGlueCatalogTable_disappears (44.01s)
--- PASS: TestAccGlueCatalogTable_StorageDescriptorSkewedInfo_emptyBlock (47.62s)
--- PASS: TestAccGlueCatalogTable_full (50.84s)
--- PASS: TestAccGlueCatalogTable_partitionIndexesSingle (50.84s)
--- PASS: TestAccGlueCatalogTable_columnParameters (51.33s)
--- PASS: TestAccGlueCatalogTable_basic (53.40s)
--- PASS: TestAccGlueCatalogTable_partitionIndexesMultiple (54.77s)
--- PASS: TestAccGlueCatalogTable_StorageDescriptor_schemaReferenceARN (55.49s)
--- PASS: TestAccGlueCatalogTable_targetTable (55.83s)
--- PASS: TestAccGlueCatalogTable_Update_addValues (70.88s)
--- PASS: TestAccGlueCatalogTable_Update_replaceValues (71.38s)
--- PASS: TestAccGlueCatalogTable_StorageDescriptorSerDeInfo_updateValues (74.36s)
--- PASS: TestAccGlueCatalogTable_StorageDescriptor_schemaReference (75.95s)
--- PASS: TestAccGlueCatalogTable_openTableFormat (76.71s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/glue 80.162s
Failure is unrelated to this change.
This functionality has been released in v5.32.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Adds the
region
to thetarget_table
block for both the resource and data source:aws_glue_catalog_table
Relations
Closes #34806
References
Output from Acceptance Testing
Resource
aws_glue_catalog_table
:Data source
aws_glue_catalog_table
: